package Test;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;


import fh.jni.Sample1;
import fh.util.Constant;
import fh.visca.Visca;
import fh.visca.ViscaPort;
import jssc.SerialPortException;

public class SPCommTest {  
	
    public static void main(String[] args){  

    	System.loadLibrary("VolumeControl");
    	
    	
        Thread spcommThread = new Thread(new SPComm());  
     
        spcommThread.setName("Thread-MyThread");  
      
        spcommThread.start();  
        
        Thread serviceListenThread = new Thread(new ListenService());
        serviceListenThread.setName("serviceListenThread");
        serviceListenThread.start();
       
    	
//        Sample1 simple = new Sample1();
//        simple.SetVolumeLevel(80);      
    }
    
    
}  
